package net.yb.service;

import com.github.pagehelper.PageInfo;
import net.yb.entity.User;

import java.util.List;

public interface UserService {
    List<User> findAll();

    void removeById(int id);

    PageInfo<User> queryByPage(Integer pageNum, Integer pageSize);
}
